package com.lanou.elh.sysmanage.authority_management.service;

import com.lanou.elh.sysmanage.authority_management.entity.Permission;
import com.lanou.elh.sysmanage.authority_management.entity.RolePerm;
import com.lanou.elh.sysmanage.authority_management.entity.User;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

public interface UserService {

    User selectUserByUserName(String username);

    User findById(Integer id);

    RolePerm finPerIdByRoleId(Integer roleId);

    List<Permission> findPerbyPerId(Integer permissionId);
}
